package com.zsrt.day20161011;

import java.math.BigDecimal;

public class DoubleJingDu {
	public static void  main (String [] arg) { 
		double a1 = 9.959955; 
		double a2 = 1.01; 
		BigDecimal d=new BigDecimal(a1 - a2);
		System.out.println("double类型产生了错误请看: " + d); 
		} 
}
